package top.shiyiri.shops.dao;

import top.shiyiri.shops.bean.Admins;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author Aunean
 * @date 2021/12/21
 */
public interface AdminsDao {

    @Select("select * from admins where name = #{name} and pass = #{pass}")
    Admins login(@Param("name") String name, @Param("pass") String pass);


}
